
#ifndef _SIGNAL_HANDLE_H_
#define _SIGNAL_HANDLE_H_

#include "stdint.h"


#define SF_ADC_CONVERT_V     ((float32_t) (3.3f / 4096.0f))
#define SF_VDC_CONVERT_V     ((float32_t) SF_ADC_CONVERT_V / (71.5f / (620.0f + 71.5f)))
#define SF_VMOTOR_CONVERT_V  ((float32_t) SF_ADC_CONVERT_V / (10.0f / (200.0f + 10.0f)))

#define SF_IDC_CONVERT_A     ((float32_t) SF_ADC_CONVERT_V * (1.0f / 0.15f))
#define SF_IS_DC_DEVICE_A    ((float32_t) 1.5f * SF_ADC_CONVERT_V / 0.066f)
#define SF_IS_DC_SERVICE_A    ((float32_t) 1.5f * SF_ADC_CONVERT_V / 0.2f)



extern void AD_signal_convert(void);


#endif


